|
Confluence Docs 3.0 : Servlet Context Parameter Plugins
This page last changed on Sep 07, 2009 by ggaskell.
On this page: Purpose of this Module TypeServlet Context Parameter plugin modules allow you to set parameters in the Java Servlet context shared by your plugin's servlets, filters, and listeners. ConfigurationThe root element for the Servlet Context Parameter plugin module is servlet-context-param. It allows the following attributes and child elements for configuration: Attributes
Elements
ExampleHere is an example atlassian-plugin.xml file containing a single servlet context parameter: <atlassian-plugin name="Hello World" key="example.plugin.helloworld" plugins-version="2">
<plugin-info>
<description>A basic Servlet context parameter module test</description>
<vendor name="Atlassian Software Systems" url="http://www.atlassian.com"/>
<version>1.0</version>
</plugin-info>
<servlet-context-param key="helloWorld">
<description>Sets the Hello World text.</description>
<param-name>text</param-name>
<param-value>Hello World!</param-value>
</servlet-context-param>
</atlassian-plugin>
NotesSome information to be aware of when developing or configuring a Servlet Context Parameter plugin module:
RELATED TOPICSWriting Confluence Plugins Information sourced from Plugin Framework documentation |
| Document generated by Confluence on Nov 05, 2009 23:34 |